home *** CD-ROM | disk | FTP | other *** search
- Path: news.primenet.com!not-for-mail
- From: bri@primenet.com (Brian Gregory)
- Newsgroups: comp.std.c
- Subject: BoundsChecker and fgets fmalloc problems
- Date: 18 Mar 1996 12:42:01 -0700
- Organization: Primenet Services for the Internet
- Sender: root@primenet.com
- Message-ID: <4ikea9$gb5@nnrp1.news.primenet.com>
- X-Posted-By: ip16-021.phx.primenet.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- I am using Bounds Checker v2.5, and am having a problem finding a
- memory leak it is reporting...
-
- Example:
-
- fgets( szBuf, 799, fpIn );
-
- szBuf is an 800 character buffer (pre-sized array)
- fpIn IS a valid pointer
- no memory is corrupt before the fgets line
- The application is a windows app, written in straight C with a large
- memory model.
-
- Any help on resolving this recurrent problem, or just an indication
- that this is perhaps an erroneous error reported by Boundschecker
- would be greatly appreciated.
-
- Thanks,
- Brian Gregory
- bri@primenet.com
-
-
-
-